# -*- coding: utf-8 -*-
"""
@Time ： 2020-11-19 9:30
@Auth ： lixin
@Description：

"""
from abc import ABCMeta,abstractmethod



class Algo_interface(metaclass=ABCMeta):    # 接口类
    def __init__(self, model_type, model_name, model_params):
        self.task_type=model_type
        self.model_name = model_name
        self.model_params = model_params
    def build_model(self):
        pass
    def train(self,data):
        pass
    def predict(self, data):
        pass